public class Thoroughbred {

  private String mother;

  private String father;

  private int birthyear;

 

  public Thoroughbred(String mother, String father, int birthyear) {

​    this.mother = mother;

​    this.father = father;

​    this.birthyear = birthyear;

  }

 

  public int getCurrentAge() {

​    return birthyear;

  }

 

  public String getFather() {

​    return father;

  }

 

  public String getMother() {

​    return mother;

  }

}